package com.zy.user.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * (表t_test_gen)ORM实体类
 *
 * @author ZY
 * @date 2021-04-13 19:36:03
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "t_test_gen")
public class TestGen implements Serializable {

    private static final long serialVersionUID = -26438233807057219L;

    /**
     * 主键ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    private Integer id;

    /**
     * TODO 请补充字段说明
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 工资
     */
    private Double salary;

    /**
     * TODO 请补充字段说明
     */
    private Double store;

    /**
     * TODO 请补充字段说明
     */
    private Float scale;

    /**
     * 数据日期
     */
    private Date dataDate;

    /**
     * 时间
     */
    private Date time;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

}